//
// Created by mabinjie on 2024/10/28.
//

#ifndef HEARTBEAT_HPP
#define HEARTBEAT_HPP
#include "protocol/message/empty_body.hpp"

namespace protocol::terminal {

class Heartbeat final : public EmptyBody {
public:
    Heartbeat() : EmptyBody(0x0002) {}

    Heartbeat(const Heartbeat &other) = default;

    Heartbeat(Heartbeat &&other) noexcept = default;

    Heartbeat & operator=(const Heartbeat &other) = default;

    Heartbeat & operator=(Heartbeat &&other) noexcept = default;

    ~Heartbeat() override = default;
};

}

#endif //HEARTBEAT_HPP
